package com.xgzit.xgzmall.order.feign;

import com.xgzit.xgzmall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @Author xgz
 * @Date 2021-06-26 22:03
 */
@FeignClient("xgzmall-member")
public interface MemberFeignService {

    @GetMapping("member/memberreceiveaddress/{memberId}")
    List<MemberAddressVo> getAddress(@PathVariable("memberId") Long memberId);


}
